//
//  NSObject+MJExtension.m
//  WBBaseProject
//
//  Created by 吴斌 on 2017/6/30.
//  Copyright © 2017年 吴斌. All rights reserved.
//

#import "NSObject+MJExtension.h"
#import <MJExtension.h>
@implementation NSObject (MJExtension)
+ (id)wb_parse:(id)responseObj{
    if ([responseObj isKindOfClass:[NSArray class]]) {
        return [self mj_objectArrayWithKeyValuesArray:responseObj];
    }
    if ([responseObj isKindOfClass:[NSDictionary class]]) {
        return [self mj_objectWithKeyValues:responseObj];
    }
    return responseObj;
}

+ (NSDictionary *)mj_objectClassInArray{
    return [self wb_objClassInArray];
}

+ (NSDictionary *)wb_objClassInArray{
    return nil;
}

+ (NSString *)mj_replacedKeyFromPropertyName121:(NSString *)propertyName{
    return [self wb_replacedKeyFromPropertyName:propertyName];
}

+ (NSString *)wb_replacedKeyFromPropertyName:(NSString *)propertyName{
    return propertyName;
}
@end
